<?php

require('../system.php');

if(isset($_GET['expand_id']))
{
	$_SESSION[$_GET['treeview_id']]->setOpen(smart_stripslashes($_GET['expand_id']), true);
}elseif(isset($_GET['collapse_id']))
{
	$_SESSION[$_GET['treeview_id']]->setClosed(smart_stripslashes($_GET['collapse_id']));
}
